import http from "@/utils/request";
// 获取公告列表
export const getBulletinList = (data) => {
    return http.get("/rsgl/bulletin/list", data);
};
// 获取公告详情
export const getBulletinById = (data) => {
    return http.get(`/rsgl/bulletin/get/${data}`);
};
// 新增公告
export const addBulletin = (data) => {
    return http.post("/rsgl/bulletin/add", data);
};
// 修改公告
export const updateBulletin = (data) => {
    return http.put("/rsgl/bulletin/update", data);
};
// 删除公告
export const deleteBulletinById = (data) => {
    return http.delete(`/rsgl/bulletin/delete/${data}`);
};
